package com.cdvtc.flower.model;


import java.util.Date;

public class Order {
    private int order_id;
    private int customer_id;
    private Date order_date_time;

    private double total_price;

    private String review;
    private int quantity;
    private int product_id;
    private int order_detail_id;


    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }
    public int getOrder_detail_id() {
        return order_detail_id;
    }

    public void setOrder_detail_id(int order_detail_id) {
        this.order_detail_id = order_detail_id;
    }
    public int getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(int customer_id) {
        this.customer_id = customer_id;
    }

    public Date getOrder_date_time() {
        return  order_date_time;
    }

    public void setOrder_date_time(Date order_date_time) {
        this.order_date_time = order_date_time;
    }

    public double getTotal_price() {
        return total_price;
    }

    public void setTotal_price(double total_price) {
        this.total_price = total_price;
    }

    public String getReview() {
        return review;
    }

    public void setReview(String review) {
        this.review = review;
    }
    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }
    @Override
    public String toString() {
        return "Order{" +
                "order_id=" + order_id +
                "order_detail_id=" + order_detail_id +
                "product_id=" + product_id +
                "quantity=" + quantity +
                "customer_id=" + customer_id +
                " order_date_time=" + order_date_time +
                "total_price=" + total_price +
                "review=" + review +
                '}';
    }
}